/* 首页样式表 */


/* 头部样式 */

header {
    width: 100%;
    height: 65px;
    border-bottom: 1px solid #aec7ec;
    top: 0;
    left: 0;
    z-index: 666;
}

header .logo {
    width: 230px;
    height: 30px;
}


/* nav */

header .nav {
    line-height: 65px;
    top: 0;
    left: 50%;
    /* CSS3平移效果 */
    transform: translateX(-50%);
}

header .nav li {
    float: left;
    margin: 0 20px;
}

header .nav li a {
    color: #ffffff;
}


/* 选中效果 */

header .nav li.active a {
    border-bottom: 2px solid #ffffff;
    padding-bottom: 20px;
    font-size: 16px;
}


/* 登录和注册 */

header .right-box a {
    padding: 4px 16px;
    border: 1px solid #aac6ef;
    color: #fff;
    border-radius: 14px;
    float: left;
}

header .right-box .register {
    background-color: #ed510a;
    border: 1px solid #ed510a;
    margin-left: 10px;
}


/* banner */

.swiper {
    height: 680px;
}

.bg01 {
    background: url(../imgs/banner1.png) no-repeat center;
}

.bg02 {
    background: url(../imgs/banner2.png) no-repeat center;
}

.bg03 {
    background: url(../imgs/banner3.png) no-repeat center;
}


/* 云服务 */

#service {
    margin-top: 105px;
}

#service .list li {
    width: 240px;
    height: 280px;
    float: left;
    margin: 0 20px;
    box-shadow: 2px 4px 10px 0 rgba(0, 91, 224, .6);
}

#service .list {
    margin: 30px 40px 0;
}

#service .list li img {
    width: 240px;
    height: 168px;
}

#service .list li h4 {
    line-height: 32px;
}


/* 分类 */

#classify {
    margin-top: 100px;
    padding-top: 90px;
    width: 100%;
    background: #f8f9fb url(../imgs/more-api-bg.svg) no-repeat center;
    background-color: #f8f9fb;
}

#classify ul {
    margin: 20px 0 25px;
}

#classify ul li {
    float: left;
    width: 220px;
    height: 140px;
    text-align: center;
    box-shadow: 2px 4px 10px 0 rgba(0, 91, 224, .6);
    margin: 10px;
}


/* #classify ul li:hover {
    background-color: #2f7ee9;
    color: white;
} */

#classify ul li img {
    width: 50px;
    height: 45px;
    margin-top: 35px;
}

#classify ul li p {
    font-size: 15px;
    margin-top: 15px;
}

#classify>div>p>a {
    color: #1271ef;
}


/* apimaster */

#master {
    padding: 85px 0 108px
}

#master .content {
    background: url(../imgs/master-left-bg.svg) no-repeat 0 -10px;
}

#master .content ul {
    width: 507px;
    margin-top: 46px;
}

#master .content ul li {
    height: 80px;
    background-color: #fbfbfd;
    margin-bottom: 10px;
    padding: 20px;
    box-sizing: border-box;
    position: relative;
}

#master .content ul li span {
    display: inline-block;
    width: 4px;
    height: 24px;
    background-color: #1271ef;
    position: absolute;
    top: 26px;
    left: 0;
}


/* 小图标 */

.api01 {
    background: url(../imgs/master-item-icon-01.svg) no-repeat;
}

.api02 {
    background: url(../imgs/master-item-icon-02.svg) no-repeat;
}

.api03 {
    background: url(../imgs/master-item-icon-03.svg) no-repeat;
}

.api04 {
    background: url(../imgs/master-item-icon-04.svg) no-repeat;
}

.api05 {
    background: url(../imgs/master-item-icon-05.svg) no-repeat;
}

.api06 {
    background: url(../imgs/master-item-icon-06.svg) no-repeat;
}


/* 助力行业 */

#unicorn .content {
    margin-top: 105px;
    height: 270px;
    background-color: #f8f9fb;
}

#unicorn a {
    display: block;
}

#unicorn .content .items {
    display: none;
    /* opacity: 0; */
}

#unicorn .content .items .left-box {
    width: 578px;
}

#unicorn .content .items .left-box img {
    width: 578px;
    height: 290px;
    position: absolute;
    left: 0;
    top: -20px;
}

#unicorn .content .items .right-box {
    height: 270px;
}

#unicorn .content .items .right-box img {
    width: 50px;
    height: 40px;
    position: absolute;
    left: 0;
    top: -20px;
}

#unicorn .content .items .right-box .desc {
    line-height: 25px;
    margin-top: 48px;
}

#unicorn .content .items .right-box .depart {
    position: absolute;
    right: 0;
    bottom: 30px;
    font-size: 12px;
}

#unicorn .content .items .right-box .depart::before {
    content: '';
    display: inline-block;
    width: 12px;
    height: 4px;
    background-color: #1271ef;
    margin-right: 5px;
    margin-top: -2px;
    vertical-align: middle;
}

#unicorn .content .items .right-box {
    width: 550px;
}

#service-x ul {
    height: 150px;
    padding-left: 100px;
}

#service-x ul li {
    width: 165px;
    float: left;
    text-align: center;
}

#service-x ul li p {
    font-size: 12px;
    margin-top: 20px;
}

#service-x ul .hh {
    margin-top: 10px;
}

#service-x ul .hh p {
    margin-top: 30px;
}

#free {
    background: #1271ef url(../imgs/login-register-bg.svg) no-repeat center;
}

#free h1 {
    color: white;
}

#free a {
    width: 130px;
    height: 40px;
    color: white;
    border: 1px solid white;
    display: inline-block;
    box-sizing: border-box;
    padding: 12px;
}


/* 页脚 */

footer .top-left {
    width: 900px;
}

footer .small-ul {
    font-size: 12px;
    float: left;
    margin-right: 70px;
    color: #bab3ba;
}

footer .small-ul li {
    margin-bottom: 17px;
}

footer .small-ul li:first-child {
    color: black;
    font-size: 14px;
    margin-bottom: 36px;
}

footer .top-right {
    width: 120px;
    text-align: right;
}

footer .hhh {
    color: #bab3ba;
}

footer .buttom {
    color: #bab3ba;
}

footer .buttom-left img {
    height: 16px;
}

#returnTop {
    width: 45px;
    height: 45px;
    background: rgba(1, 1, 1, 0.3);
    border-radius: 45px;
    position: fixed;
    right: 100px;
    bottom: 20px;
    color: white;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    box-sizing: border-box;
    padding: 12px;
    cursor: pointer;
}